<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Recharge_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-recharge_money" data-rule="required" class="form-control" step="0.01" name="row[recharge_money]" type="number" min="0" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Present_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-present_money" data-rule="" class="form-control" step="0.01" name="row[present_money]" type="number" min="0" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('优惠券')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-coupon_id" data-rule="" class="form-control selectpicker" name="row[coupon_id]">
                <option value="0">不赠送优惠券</option>
                {foreach name="coupons" item="vo"}
                <option value="{$vo->id}">{$vo->title}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Describe')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-describe" data-rule="" class="form-control" name="row[describe]" rows="5" cols="50"></textarea>
            <small style="display: inline-block; margin-top: 5px;">注：多条描述时，请在单条结束的后面加上 & 符号，最后一条不用</small>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Online')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="onlineList" item="vo"}
                <label for="row[online]-{$key}">
                    <input type="radio" value="{$key}" name="row[online]" id="row[online]-{$key}" {in name="key" value="yes"}checked{/in}>{$vo}
                </label>
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
